package mytask.dao;

import java.util.List;

import mytask.model.Project;
import mytask.model.User;

public interface ProjectDAO {

	public Project getProject(Integer id);

	public void saveProject(Project project);

	public List<Project> listProjects();

	public List<Project> listProjects(final User user, final int maxResults);

	public List<Project> listAcceptedProjects(final User user,
			final int maxResults);

}
